import request from '@/utils/request'

export function getDepositAndCredit_amount() {
  return request({
    url: '/merchant/api/v1/funds/money',
    method: 'get'
  })
}
export function getEntryList(params) {
  return request({
    url: '/merchant/api/v1/funds',
    method: 'get',
    params
  })
}
export function getBankList() {
  return request({
    url: '/merchant/api/v1/funds/bank',
    method: 'get'
  })
}
export function setBindingBank(params) {
  return request({
    url: '/merchant/api/v1/funds/bind/bank',
    method: 'post',
    headers: {
      'Content-Type': '	application/json'
    },
    params
  })
}
export function setApplyMoney(params) {
  return request({
    url: '/merchant/api/v1/funds/apply-money',
    method: 'post',
    headers: {
      'Content-Type': '	application/json'
    },
    params
  })
}
export function getTurnoverList(params) {
  return request({
    url: '/merchant/api/v1/funds/logs',
    method: 'get',
    params
  })
}

